Skip to content

Conversation

@CarolineOlivier
Copy link
Collaborator

Description:
"This pull request introduces the Lockable and Confirmable features for user authentication using Devise.

Changes Included:
Lockable:

Configured Devise to lock user accounts after 5 consecutive failed login attempts.
Added necessary database migrations to support failed_attempts and locked_at fields in the users table.
Confirmable:

Integrated email confirmation for new user registrations.
Added required fields (confirmation_token, confirmed_at, etc.) to the users table through migrations.
Initial Setup:

Adjusted Devise settings in the User model to enable both features.
Verified basic locking and confirmation mechanisms.
Pending Work:
Flash messages for account lock and confirmation status are not yet configured and will be addressed in a separate commit.
This update is part of improving user authentication security for the platform. Please review and share feedback before merging."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants